<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.groupwareworkbench.org.br/widgets/commons" prefix="Widgets" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="cache-control" content="no-cache">
        <title>Configura&ccedil;&atilde;o de Not&iacute;cias</title>
        <link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/listagem.js"></script>
    </head>
    <body>
        <Widgets:Topo collabletInstance="${newsMgr}" />
        <Widgets:ConteudoPagina titulo="Configuração de Recomendações:">
            <br />
            <form name="dados" method="POST" action="<c:url value="/groupware-workbench/${collabletInstance.id}/recommendMgr/${recommendMgr.id}/updateNumRelated" />">
                <%-- TODO: Tableless! --%>
                <table cellpadding="3">
                    <tr>
                        <td>N&uacute;mero de Recomenda&ccedil;&otilde;es:</td>
                        <td><input type="text" name="max" size="4" value="${numRelated}" /></td>
                        <td>
                            <input type="submit" class="botao" value="Confirma" />
                        </td>
                    </tr>
                </table>
            </form>
            <form name="dados" method="POST" action="<c:url value="/groupware-workbench/${collabletInstance.id}/recommendMgr/${recommendMgr.id}/calcRecommned" />">
                <%-- TODO: Tableless! --%>
                <table cellpadding="3">
                    <tr>
                        <td>Recalcular os valores de similaridade: </td>
                        <td>
                            <input type="submit" class="botao" value="Confirma" />
                        </td>
                    </tr>
                </table>
            </form>
            <form name="dados" method="POST" action="<c:url value="/groupware-workbench/${collabletInstance.id}/recommendMgr/${recommendMgr.id}" />">
                <%-- TODO: Tableless! --%>
                <table cellpadding="3">
                    <tr>
                        <td>Refletir os atributos do componente: </td>
                        <td>
                            <input type="submit" class="botao" value="Confirmar" />
                        </td>
                    </tr>
                </table>
            </form>
            <div class="barra_botoes">
                <Widgets:Voltar collabletInstance="${collabletInstance}" />
            </div>
        </Widgets:ConteudoPagina>
    </body>
</html>